#!/bin/env python
# -*- coding: utf-8 -*-
# Filename:    main.py
# Revision:    1.0
# Date:        2013-0705
# Author:      simonzhang
# web:         www.simonzhang.net
# Email:       simon-zzm@163.com
### END INIT INFO

# cookie加密使用key
cookie_key = 'cookiexxx'


# 针对项目中每个服务的登陆密码进行
# 加密解密的key，只能是8位
pass_key = 'secpassxxx'


# 数据库配置
db_ip = 'mysqlipxxx'
db_port = 'mysqlportxxx'
db_database = 'mysqldbxxx'
db_user = 'mysqluserxxx'
db_pass = 'mysqlpassxxx'
db_conn_time = 24*3600

# 默认登陆后过期时间，单位分。默认为2天
# 格式为 60分 乘以 24小时 乘以 2天
login_timeout = 60*24*2
